﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hospital_registration_system.Entity
{
    /// <summary>
    /// 医生表实体类
    /// </summary>
    public class Doctor
    {
        private int id;// id号
        private String doctor_name;// 姓名
        private String nickname;// 昵称
        private String sex;// 性别
        private int age;// 年龄
        private String email;//邮箱
        private String telephone;// 手机
        private String address;// 地址
        private String doctor_password;// 密码
        private int department_id;// 科室id
        private String CREATED_BY;// 创建人
        private DateTime CREATED_TIME;// 创建时间
        private String UPDATED_BY;// 更新人
        private DateTime UPDATED_TIME;// 更新时间
        private int state;// 状态
        public Doctor()
        {
        }
        public Doctor(int id, string doctor_name, string nickname, string sex, int age, string email, string telephone, string address, string doctor_password, int department_id, string cREATED_BY, DateTime cREATED_TIME, string uPDATED_BY, DateTime uPDATED_TIME, int state)
        {
            this.id = id;
            this.doctor_name = doctor_name;
            this.nickname = nickname;
            this.sex = sex;
            this.age = age;
            this.email = email;
            this.telephone = telephone;
            this.address = address;
            this.doctor_password = doctor_password;
            this.department_id = department_id;
            CREATED_BY = cREATED_BY;
            CREATED_TIME = cREATED_TIME;
            UPDATED_BY = uPDATED_BY;
            UPDATED_TIME = uPDATED_TIME;
            this.state = state;
        }


        public override string ToString()
        {
            return base.ToString();
        }

        public int Id { get => id; set => id = value; }
        public string Doctor_name { get => doctor_name; set => doctor_name = value; }
        public string Nickname { get => nickname; set => nickname = value; }
        public string Sex { get => sex; set => sex = value; }
        public int Age { get => age; set => age = value; }
        public string Email { get => email; set => email = value; }
        public string Telephone { get => telephone; set => telephone = value; }
        public string Address { get => address; set => address = value; }
        public string Doctor_password { get => doctor_password; set => doctor_password = value; }
        public int Department_id { get => department_id; set => department_id = value; }
        public string CREATED_BY1 { get => CREATED_BY; set => CREATED_BY = value; }
        public DateTime CREATED_TIME1 { get => CREATED_TIME; set => CREATED_TIME = value; }
        public string UPDATED_BY1 { get => UPDATED_BY; set => UPDATED_BY = value; }
        public DateTime UPDATED_TIME1 { get => UPDATED_TIME; set => UPDATED_TIME = value; }
        public int State { get => state; set => state = value; }
    }
}
